<template>
  <div id="app" class="app">
    <el-backtop target=".app" :visibility-height="10" :right="40" :bottom="120">
      <div
        style="{
        height: 100%;
        width: 100%;
        background-color: ##fff;
      }"
      >
        <img class="imgX" src="@/assets/images/top.png" />
      </div>
    </el-backtop>
    <!-- <div class="backTop">
      <img class="imgX" src="@/assets/images/top.png" />
    </div>-->

    <router-view />
  </div>
</template>

<script>
export default {
  name: "App",
  data() {
    return {
      backTopShow: false
    };
  },
  created() {
    window.onscroll = () => {
      //为了保证兼容性，这里取两个值，哪个有值取哪一个
      //scrollTop就是触发滚轮事件时滚轮的高度
      var scrollTop =
        document.documentElement.scrollTop || document.body.scrollTop;
      if (scrollTop > 400) {
        this.backTopShow = true;
      } else {
        this.backTopShow = false;
      }
    };
  }
};
</script>

<style>
.backTop {
  position: fixed;
  bottom: 2rem;
  right: 1rem;
}
.infoBox img {
  display: none;
}

.info_box p span {
  color: #ac0000;
}
.BMap_bubble_pop {
  border: none !important;
}
.BMap_bubble_top {
  border: none !important;
}
.BMap_bubble_center img {
  display: none !important;
}
.shadow div img {
  display: none !important;
}
.BMap_bubble_title {
  background-color: #fff !important ;
}
.BMap_bubble_buttons {
  background-color: #fff !important ;
}
.anchorBL {
  display: none !important;
}
html::-webkit-scrollbar {
  width: 0px;
  background: none;
}
#app {
  min-height: 100vh;
  overflow-x: hidden;
}
/* #app{
  height: 100vh;
  overflow-x: hidden;
} */
/*清除浮动代码*/
.clearfloat:after {
  display: block;
  clear: both;
  content: "";
  visibility: hidden;
  height: 0;
}
.clearfloat {
  zoom: 1;
}
* {
  margin: 0;
  padding: 0;
}
a {
  color: #333;
  text-decoration: none;
}
img {
  max-width: 100%;
  border-style: none;
}
.contentImg p img {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: block;
}
.imgX {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0 auto;
}
ul,
li {
  list-style: none;
}
textarea {
  resize: none;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: #aa171f !important;
}

.lang input {
  outline: none;
  border: none !important;
}
.cascader input {
  outline: none;
  border: none !important;
}

.swiper-button-next,
.swiper-button-prev {
  outline: none;
}
/* 二级页面分页器 */
.el-pagination .el-pager .active {
  background-color: #aa171f !important;
}
/* 首页轮播图改变样式 */
.swiper-pagination {
  bottom: 10px;
  left: 0;
  width: 100%;
}
.swiper-pagination .swiper-pagination-bullet,
.swiper-pagination .swiper-pagination-bullet-active {
  width: 17.5px;
  height: 3.5px;
  border-radius: 0;
  opacity: 0.28;
  background: #fff;
}
.swiper-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}
.swiper-container-horizontal > .swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 45px;
}
/* .personnel_list .input_box .input_item .el-input__inner {
  height: 0.54rem !important ;
  line-height: 0.54rem !important;
} */
/* .is-active .el-collapse-item__header {
  background: #aa171f;
} */
.el-collapse-item__arrow {
  display: none !important;
  /* color: #fff; */
}

.nav_box .router-link-active {
  color: #a02f31;
}
/* 搜索分类 下拉弹窗 */
.search_box input {
  outline: none;
  border: none !important;
}

.searchSelectClass .el-select-dropdown__item.selected {
  color: #aa171f;
}
.content img {
    max-width:100% !important;
    height: auto !important;
}
/* 设备宽度大于 320px 小于 640px */
@media only screen and (min-width: 320px) and (max-width: 640px) {
  /* 搜索分类 下拉弹窗 */
  .selectCate {
    width: 2rem;
  }
  .selectCate .el-select {
    width: 2rem;
  }
  .selectCate .el-input__inner {
    width: 2rem;
    height: 0.38rem;
    padding: 0;
    font-size: 0.2rem;
  }
  .selectCate .el-select .el-input .el-select__caret {
    line-height: 0.4rem;
  }
  .searchSelectClass {
    width: calc(100% - 0.6rem);
    left: 0px !important;
    margin: 0 0.3rem;
    min-height: 2.2rem;
  }
  .info_box {
    font-size: 0;
    box-sizing: border-box;
    padding: 0.28rem 0.27rem;
    background: #ffffff;
  }
  .info_box p {
    font-size: 0.16rem;
    color: #666;
  }
  .el-collapse-item__header {
    height: 0.8rem !important;
    line-height: 0.8rem !important;
    font-weight: 400 !important;
  }
  .field .swiper-container {
    margin: 0 0.5rem;
    /* margin-left: .5rem;
  margin-right: 0rem; */
  }
  .field .two_nav .swiper-button-prev {
    left: 0px;
    background-image: url("./assets/images/fleid_zuo.png");
    background-position: center;
    background-size: contain;
  }
  .field .two_nav .swiper-button-next {
    /* left: 1.8rem; */
    right: 0;
    background-image: url("./assets/images/fleid_you.png");
    background-position: center;
    background-size: contain;
  }

  /* 语言选择框  下拉弹窗 */
  .lang_select {
    width: 2rem;
    height: 2.5rem;
    overflow: hidden;
  }
  .global_search .el-select {
    width: 100%;
    height: 100%;
  }
  .global_search .el-select input {
    color: #fff;
    background: rgba(0, 0, 0, 0.45) !important;
  }
  .contact .select .el-input__inner {
    width: 100%;
    color: #fff;
  }
  .contact .select input {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #fff;
    border-radius: 0;
  }
  .contact_select {
    border: none;
    background-color: rgba(57, 57, 57, 0.88);
  }
  .contact_select .selected {
    color: #a02f31;
  }
  .contact_select .hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  /* 二级页面banner图 */
  .table {
    width: 100%;
    height: 3.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .table p {
    font-size: 0.36rem;
    text-align: center;
    color: #fff;
    /* height: 3.4rem;
    line-height: 3.4rem; */
  }
  /* 二级页面导航栏 */
  .two_nav {
    max-width: 12rem;
    margin: 0 auto;
    position: relative;
    height: 0.65rem;
    border-bottom: 0.01rem solid #ededed;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
  }
  .two_nav .item_box {
    max-width: calc(100% - 1.8rem);
    flex: 1;
    height: 0.65rem;
    position: relative;
    /* margin-left: 1.98rem; */
  }
  .two_nav .two_nav_title {
    /* position: relative;
    top: 0rem; */
    min-width: 1.6rem;
    padding: 0 0.1rem;
    height: 0.65rem;
    line-height: 0.65rem;
    background: #aa171f;
    text-align: center;
    font-size: 0.24rem;
    color: #f8f8f8;
  }
  .two_nav .swiper-slide {
    width: auto;
    padding: 0 0.1rem;
  }
  .two_nav .two_nav_item {
    display: block;
    height: 0.65rem;
    line-height: 0.65rem;
    font-size: 0.22rem;
    color: #333;
    text-align: center;
  }
  .two_nav .router-link-active span {
    display: inline-block;
    height: 0.64rem;
    line-height: 0.65rem;
    color: #a9171f;
    border-bottom: 0.01rem solid #a9171f;
  }

  .recruitment .dialog {
    width: 80%;
  }
  .recruitment .el-dialog__header {
    display: none;
  }
  .recruitment .el-dialog__body {
    padding: 0;
  }
}
@media only screen and (min-width: 641px) and (max-width: 1199px) {
  /* 搜索分类 下拉弹窗 */
  .searchSelectClass {
    width: 580px;
  }
  .info_box {
    font-size: 0;
    box-sizing: border-box;
    padding: 28px 27px;
    background: #ffffff;
  }
  .info_box p {
    font-size: 16px;
    color: #666;
  }
  .global_search .el-select {
    width: 100%;
    height: 100%;
  }
  .global_search .el-select input {
    color: #fff;
    background: rgba(0, 0, 0, 0.45) !important;
  }
  .el-collapse-item__header {
    height: 80px !important;
    line-height: 80px !important;
    font-weight: 400 !important;
    display: flex;
    justify-content: space-between;
  }
  .field .two_nav .swiper-button-prev {
    left: 0px;
    background-image: url("./assets/images/fleid_zuo.png");
    background-position: center;
    background-size: contain;
  }
  .field .two_nav .swiper-button-next {
    /* left: 1.8rem; */
    right: 0;
    background-image: url("./assets/images/fleid_you.png");
    background-position: center;
    background-size: contain;
  }
  /* 二级页面导航栏 */
  .two_nav {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    height: 65px;
    border-bottom: 1px solid #ededed;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
  }
  .two_nav .item_box {
    max-width: calc(100% - 198px);
    flex: 1;
    height: 65px;
    /* padding: 0 50px; */
    box-sizing: border-box;
    position: relative;
    /* margin-left: 1.98rem; */
  }
  .two_nav .item_box .swiper-slide {
    width: auto;
    padding: 0 15px;
  }
  .two_nav .two_nav_title {
    position: relative;
    top: 0;
    min-width: 160px;

    padding: 0 10px;
    height: 65px;
    line-height: 65px;
    background: #aa171f;
    text-align: center;
    font-size: 24px;
    color: #f8f8f8;
  }

  .two_nav .two_nav_item {
    display: block;
    height: 65px;
    line-height: 65px;
    font-size: 18px;
    color: #333;
    text-align: center;
    width: auto;
  }
  .two_nav .router-link-active span {
    display: inline-block;
    height: 64px;
    line-height: 65px;
    color: #a9171f;
    border-bottom: 1px solid #a9171f;
  }
  /* 二级页面banner图 */
  .table {
    width: 100%;
    height: 442px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .table p {
    font-size: 36px;
    text-align: center;
    color: #fff;
    /* height: 442px;
    line-height: 442px; */
  }
}
@media screen and (min-width: 1200px) {
  .info_box {
    font-size: 0;
    box-sizing: border-box;
    padding: 28px 27px;
    background: #ffffff;
  }
  .info_box p {
    font-size: 16px;
    color: #666;
  }
  .el-collapse-item__header {
    height: 80px !important;
    line-height: 80px !important;
    font-weight: 400 !important;
    display: flex;
    justify-content: space-between;
  }
  /* 搜索分类 下拉弹窗 */
  .searchSelectClass {
    width: 580px;
  }
  /* 语言选择框  下拉弹窗 */
  .lang_select {
    width: 100px;
    height: 120px;
    overflow: hidden;
  }
  .global_search .el-select {
    width: 100%;
    height: 100%;
  }
  .global_search .el-select input {
    color: #fff;
    background: rgba(0, 0, 0, 0.45) !important;
  }
  .contact .select .el-input__inner {
    color: #fff;
  }
  .contact .select input {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #fff;
    border-radius: 0;
  }
  .contact_select {
    border: none;
    background-color: rgba(57, 57, 57, 0.88);
  }
  .contact_select .selected,
  .global_select .el-select-dropdown__item.selected {
    color: #a02f31;
  }
  .contact_select .hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  /* 二级页面banner图 */
  .table {
    width: 100%;
    height: 442px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .table p {
    font-size: 36px;
    text-align: center;
    color: #fff;
  }
  .field .two_nav .swiper-button-prev {
    left: 0px;
    background-image: url("./assets/images/fleid_zuo.png");
    background-position: center;
    background-size: contain;
  }
  .field .two_nav .swiper-button-next {
    /* left: 1.8rem; */
    right: 0;
    background-image: url("./assets/images/fleid_you.png");
    background-position: center;
    background-size: contain;
  }
  /* 二级页面导航栏 */
  .two_nav {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    height: 65px;
    border-bottom: 1px solid #ededed;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
  }
  .two_nav .item_box {
    max-width: calc(100% - 198px);
    flex: 1;
    height: 65px;
    /* padding: 0 50px; */
    box-sizing: border-box;
    position: relative;
  }
  .two_nav .item_box .swiper-slide {
    width: auto;
    padding: 0 15px;
  }
  .two_nav .two_nav_title {
    /* position: relative;
    top: 0; */
    min-width: 160px;
    padding: 0 10px;
    height: 65px;
    line-height: 65px;
    background: #aa171f;
    text-align: center;
    font-size: 24px;
    color: #f8f8f8;
  }

  .two_nav .two_nav_item {
    display: block;
    height: 65px;
    line-height: 65px;
    font-size: 18px;
    color: #333;
    text-align: center;
    width: auto;
  }
  .two_nav .router-link-active span {
    display: inline-block;
    height: 64px;
    line-height: 65px;
    color: #a9171f;
    border-bottom: 1px solid #a9171f;
  }

  .recruitment .dialog {
    width: 80%;
  }
  .recruitment .el-dialog__header {
    display: none;
  }
  .recruitment .el-dialog__body {
    padding: 0;
  }
}
</style>
